package com.example.cotroller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;



@RestController
public class DefaultController {
    @GetMapping("/index")
    public String index(String name)
    {
        return "Hello:" + name;
    }
}
